package com.boruan.qq.zxgylibrary.service.model;

/**
 * Created by 崔琦 on 2019/9/5.
 * des: 选择地址返回配送价实体
 */

public class AddressBackPriceBean {

    /**
     * result : {"deliveryFee":0,"distance":0,"startPrice":0}
     * errorCode :
     * message :
     * success : true
     */

    private ResultBean result;
    private String code;
    private String message;
    private boolean success;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean data) {
        this.result = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class ResultBean {
        /**
         * deliveryFee : 0
         * distance : 0
         * startPrice : 0
         */

        private int deliveryFee;
        private int distance;
        private int startPrice;

        public int getDeliveryFee() {
            return deliveryFee;
        }

        public void setDeliveryFee(int deliveryFee) {
            this.deliveryFee = deliveryFee;
        }

        public int getDistance() {
            return distance;
        }

        public void setDistance(int distance) {
            this.distance = distance;
        }

        public int getStartPrice() {
            return startPrice;
        }

        public void setStartPrice(int startPrice) {
            this.startPrice = startPrice;
        }
    }
}
